﻿<cfcomponent 
	displayname="public.service.helper.tagLocation" 
	hint="CFLocation Tag Operation Helper" 
	output="false">
	
	<cffunction name="init" access="public" returntype="public.service.helper.tagLocation" hint="初始化对象">
		<cfreturn this />
	</cffunction>

	<cffunction name="redirect" access="public" returntype="void" hint="执行用户跳转">
		<cfargument name="urlAddress" type="string" required="yes" hint="HTTP URL" />
		<cfargument name="statusCode" type="numeric" required="yes" hint="HTTP/1.1 RFC response code" />
		
		<cflocation statuscode="#arguments.statusCode#" url="#arguments.urlAddress#" addtoken="no" />
		
	</cffunction>
	
</cfcomponent>